package com.study.ext;

import java.util.ArrayList;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Author tanglingyu
 * @Date: 2021/06/06/ 13:55
 * @Description
 */
public abstract class Business1DefaultStrategy extends AbstractStrategy {

  @Autowired
  private List<AbstractBusiness1ApplyProcessor> abstractBusiness1ApplyProcessorList;

  @Override
  protected BusinessApply initBusinessApply() {
    return new Business1Apply("数据");
  }

  @Override
  public List<ProcessorInterface> getProcessors() {
    return new ArrayList<>(abstractBusiness1ApplyProcessorList);
  }
}
